<input class="text{if isset($element.class)} {$element.class}{/if}" type="text" id="{$name|id}" {if $element.readonly}readonly="readonly"{else}name="{$name}"{/if} value="{$element.value|escape}" />